package com.d5power.utils
{
	public class MonsterData
	{
		/**
		 * 怪物ID
		 */ 
		public var id:uint;
		/**
		 * 怪物名
		 */ 
		public var name:String;
		/**
		 * 怪物等级
		 */ 
		public var lv:uint;
		/**
		 * 怪物贴图
		 */ 
		public var skin:String;
		
		public function MonsterData()
		{
			skin = '';
		}
		
		/**
		 * 格式化对象
		 */ 
		public function formatObject(data:Object):void
		{
			id = data.id;
			name = data.name;
			lv = data.lv;
			skin = data.skin;
		}
	}
}